export const NavState = {
    ANONYMOUS: 'anonymous',
    NORMAL: 'normalUser'
}
function testPwd() {
  const digitLint = RegExp('.{7,25}')
  const hasNum = RegExp('^.*[0-9]+.*$')
  const hasUpper = RegExp('^.*[A-Z]+.*$')
  const hasLower = RegExp('^.*[a-z]+.*$')
  const hasSpec = RegExp('^.*[!@$%^\-_=+\[\]\{\}:,/?]+.*$')
  const noUsername = RegExp('^((?!root).)*$')
  const noAdmin = RegExp('^((?!administator).)*$')
  const noUsernameRever = RegExp('^((?!toor).)*$')
  const noAdminRever = RegExp('^((?!rotartsinimda).)*$')
  const containSeqRoot = RegExp('(?!.*ro|.*oo|.*ot)(^.*$)')
  const containSeqAdmin = RegExp('(?!.*ad|.*dm|.*mi|.*in|.*ni|.*is|.*st|.*ta|.*at|.*to|.*or)(^.*$)')
}
